﻿<div ng-controller="userFeedBackController">
    <div class="wrapper border-bottom white-bg page-heading">
        <div class="col-lg-pull-12">
            <ol class="breadcrumb">
                <li>用户反馈回复</li>
            </ol>
        </div>
    </div>

    <form name="_form" class="form-horizontal w5c-form" w5c-form-validate="model.validateOptions" role="form" novalidate>
        <div class="form-group">
            <label class="col-sm-2 control-label">昵称</label>
            <div class="col-sm-8 form-control-static">
                {{model.merchant.name}}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">反馈内容</label>
            <div class="col-sm-8 form-control-static">
                <textarea rows="4" disabled="disabled" class="form-control input-sm">{{model.user_feedback_content}}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">联系方式</label>
            <div class="col-sm-8 form-control-static">
                {{model.usercontact}}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">创建时间</label>
            <div class="col-sm-8 form-control-static">
                {{model.createtime}}
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">回复标题</label>
            <div class="col-sm-3">
                <input type="text" name="reply_title" class="form-control" ng-model="model.reply_title" placeholder="请输入回复标题" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">回复内容</label>
            <div class="col-sm-10">
                <textarea name="reply_content" class="form-control input-sm" ng-model="model.reply_content" rows="4" ng-change="textAreaChanged(500)" placeholder="请输入回复内容" required></textarea>
                <span class="help-block" id="textcount">0/500</span>
            </div>
        </div>
        <div class="form-group form-group-sm">
            <label class="col-sm-2 control-label"></label>
            <div class="col-sm-3">
                <button type="submit" w5c-form-submit="save()" class="btn btn-primary btn-sm" btn-loading="psdisabled.save" loading-text="保存中..." ng-disabled="psdisabled.save">
                    <i class="fa fa-save"></i> 回复
                </button>
                <button ng-click="goBack()" class="btn btn-primary btn-sm"><i class="fa fa-rotate-left"></i> 返回</button>
            </div>
        </div>
    </form>
</div>
